<template>
  <div>
    <van-tabs v-model="active">
  <van-tab title="登录"><login></login></van-tab>
  <van-tab title="注册"><register></register></van-tab>

</van-tabs>

  </div>
</template>

<script>
import { ref } from 'vue';
import login from '@/components/LoginView.vue';
import register from '@/components/RegisterView.vue'


export default {
  components:{
     login,
     register
  },
  setup() {
    const active = ref(0);
    return { active };
  },
};
</script>

<style>

</style>